gsk: Test huge glyphs
authorMatthias Clasen <mclasen@redhat.com>
Sun, 2 Jun 2019 19:14:34 +0000 (19:14 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 3 Jun 2019 02:08:36 +0000 (02:08 +0000)
These don't fit in the glyph cache.

testsuite/gsk/compare/huge-glyph.node [new file with mode: 0644]
testsuite/gsk/compare/huge-glyph.png [new file with mode: 0644]
testsuite/gsk/meson.build

diff --git a/testsuite/gsk/compare/huge-glyph.node b/testsuite/gsk/compare/huge-glyph.node
new file mode 100644 (file)
index 0000000..59650eb
--- /dev/null
@@ -0,0 +1,5 @@
+text {
+  font:"Cantarell 800";
+  glyphs:"ABC";
+  offset: 0 0;
+}
\ No newline at end of file
diff --git a/testsuite/gsk/compare/huge-glyph.png b/testsuite/gsk/compare/huge-glyph.png
new file mode 100644 (file)
index 0000000..0af4e1d
Binary files /dev/null and b/testsuite/gsk/compare/huge-glyph.png differ
index 370d865a6b9568677915ebc3af3366da593574a8..a3563f11b4af33e9616b61ea1bc9956a4dc233ce 100644 (file)
@@ -46,6 +46,7 @@ compare_render_tests = [
   'empty-text',
   'empty-texture',
   'empty-transform',
+  'huge-glyph',
   'opacity_clip',
   'outset_shadow_offset_both',
   'outset_shadow_offset_x',